package br.com.infocruz.seam.crm.ejb.session;

import br.com.infocruz.seam.crm.ejb.model.*;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.framework.EntityQuery;
import java.util.Arrays;

@Name("userAuthorizationList")
public class UserAuthorizationList extends EntityQuery<UserAuthorization> {

	private static final String EJBQL = "select userAuthorization from UserAuthorization userAuthorization";

	private static final String[] RESTRICTIONS = {};

	private UserAuthorization userAuthorization = new UserAuthorization();

	public UserAuthorizationList() {
		setEjbql(EJBQL);
		setRestrictionExpressionStrings(Arrays.asList(RESTRICTIONS));
		setMaxResults(25);
	}

	public UserAuthorization getUserAuthorization() {
		return userAuthorization;
	}
}
